package com.cr4y0n.crayonpicturebackend.model.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用户更新请求
 *
 * @author cr4y0n
 * @version 1.0.0
 */
@Data
@ApiModel("用户更新请求")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserUpdateRequest implements Serializable {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("用户昵称")
    private String userName;

    @ApiModelProperty("用户头像")
    private String userAvatar;

    @ApiModelProperty("简介")
    private String userProfile;

    @ApiModelProperty("用户角色：user/admin")
    private String userRole;

    private static final long serialVersionUID = 1L;

}